package net.sx.minemodule.mvp.bean;

import com.kedll.library.adapter.MultiTypeAdapter;
import com.kedll.library.mvp.BaseModel;

import net.sx.minemodule.mvp.item.GoodCollectItem;

import java.io.Serializable;

/**
 * 商品收藏
 *
 * @author 11470
 */
public class GoodCollectBean extends BaseModel<GoodCollectItem> implements Serializable {
    /**
     * createTime :                     //收藏时间
     * deductionPoint : 0               //商品积分
     * id : 0                           //主键
     * memberIcon :                     //会员头像
     * memberId : 0                     //会员id
     * memberNickname :                 //会员昵称
     * productId : 0                    //商品id
     * productName :                    //商品名称
     * productPic :                     //商品图片
     * productPrice : 0                 //商品价格
     * productSubtitle :                //商品副标题
     */

    private String createTime;
    private int deductionPoint;
    private int id;
    private String memberIcon;
    private int memberId;
    private String memberNickname;
    private int productId;
    private String productName;
    private String productPic;
    private int productPrice;
    private String productSubtitle;

    @Override
    public GoodCollectItem createItem(MultiTypeAdapter adapter) {
        return new GoodCollectItem(this, adapter);
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public int getDeductionPoint() {
        return deductionPoint;
    }

    public void setDeductionPoint(int deductionPoint) {
        this.deductionPoint = deductionPoint;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getMemberIcon() {
        return memberIcon;
    }

    public void setMemberIcon(String memberIcon) {
        this.memberIcon = memberIcon;
    }

    public int getMemberId() {
        return memberId;
    }

    public void setMemberId(int memberId) {
        this.memberId = memberId;
    }

    public String getMemberNickname() {
        return memberNickname;
    }

    public void setMemberNickname(String memberNickname) {
        this.memberNickname = memberNickname;
    }

    public int getProductId() {
        return productId;
    }

    public void setProductId(int productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductPic() {
        return productPic;
    }

    public void setProductPic(String productPic) {
        this.productPic = productPic;
    }

    public int getProductPrice() {
        return productPrice;
    }

    public void setProductPrice(int productPrice) {
        this.productPrice = productPrice;
    }

    public String getProductSubtitle() {
        return productSubtitle;
    }

    public void setProductSubtitle(String productSubtitle) {
        this.productSubtitle = productSubtitle;
    }


    /**
     * "num": "1",
     * "sid": "Efa%2bDmrErSJp72vG%2b6niaYfV1KUC4VrA81QsjkImVNQSVsK5eA4JtngfNmCTpIjS",
     * "BindSid": "",
     * "BindSum": "1",
     * "title": "惠普（HP） 战66 Pro G1 14英寸轻薄家用办公笔记本电脑 四核8代处理器 四核i5-8250U 8G 360G固态 标配 PCIe SSD 标压MX150 2G独显 银色",
     * "SmallPic": "/upath/2018/11/5/172640969246357ufi.jpg",
     * "Businessman": {
     * "title": "奥凡尼旗舰店 ",
     * "sid": "factory_2bcfa161bcfd4f2dada44c4c33c07e68"
     * },
     * "StandardPrice": "5399",
     * "NowPrice": "0.01",
     * "Inventory": "200",
     * "AboutInf": "",
     * "FixedParam": {
     * "胸围": "111",
     * "颜色": "2222",
     * "腰围": "66"
     * },
     * "BuyUnit": "个",
     * "FloatParam": {
     * "颜色": "黑色$0.02，银色$0.01"
     * },
     * "Manufacturer": "1",
     * "CmdtyService": "|comclass_30cd88fdfee24485a89ad119e0d55d13|",
     * "SaleCount": "10",
     * "PayCake": "0.66",
     * "ListTag": "0,爆款$R,0,爆款$R,0,爆款$R,0,爆款$R,0,爆款$R,0,爆,",
     * "CModel": "CommodityDetails",
     * "CollectVol": "0"
     */
    /*private String num;
    private String sid;
    private String BindSid;
    private String BindSum;
    private String title;
    private String SmallPic;
    private String StandardPrice;
    private BigDecimal NowPrice;
    private BigDecimal PayCake;

    @Override
    public GoodCollectItem createItem(MultiTypeAdapter adapter) {
        return new GoodCollectItem(this, adapter);
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getBindSid() {
        return BindSid;
    }

    public void setBindSid(String bindSid) {
        BindSid = bindSid;
    }

    public String getBindSum() {
        return BindSum;
    }

    public void setBindSum(String bindSum) {
        BindSum = bindSum;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSmallPic() {
        return SmallPic;
    }

    public void setSmallPic(String smallPic) {
        SmallPic = smallPic;
    }

    public String getStandardPrice() {
        return StandardPrice;
    }

    public void setStandardPrice(String standardPrice) {
        StandardPrice = standardPrice;
    }

    public BigDecimal getNowPrice() {
        return NowPrice;
    }

    public void setNowPrice(BigDecimal nowPrice) {
        NowPrice = nowPrice;
    }

    public BigDecimal getPayCake() {
        return PayCake;
    }

    public void setPayCake(BigDecimal payCake) {
        PayCake = payCake;
    }*/
}
